package cms.common;

import org.apache.ibatis.session.SqlSession;

/**
 * @ClassName: SqlSessionAndMapper.java
 * @author: yuhui
 * @version: 1.0.0
 * @Description: TODO
 * @createTime: 2021年04月14日 22:01:00
 */
public class SqlSessionAndMapper<T> {
    private T obj;
    private SqlSession sqlSession;

    public SqlSessionAndMapper(T obj, SqlSession sqlSession) {
        this.obj = obj;
        this.sqlSession = sqlSession;
    }

    public T getObj() {
        return obj;
    }

    public void setObj(T obj) {
        this.obj = obj;
    }

    public SqlSession getSqlSession() {
        return sqlSession;
    }

    public void setSqlSession(SqlSession sqlSession) {
        this.sqlSession = sqlSession;
    }
}
